package org.microframework.base.core.web.page;

import java.io.Serializable;

/**
 * 分页请求基类
 * 
 * @author zs
 * @version 1.0.0
 * @date 2024-05-21
 */
public abstract class AbstractPageRequest implements Serializable {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 当前页码
	 */
	private int pageNumber = 1;
	
	/**
	 * 每页记录数
	 */
	private int pageSize = 10;
	
	/**
	 * 获取当前页码
	 */
	public int getPageNumber() {
		return pageNumber;
	}
	
	/**
	 * 设置当前页码
	 */
	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}
	
	/**
	 * 获取每页记录数
	 */
	public int getPageSize() {
		return pageSize;
	}
	
	/**
	 * 设置每页记录数
	 */
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
}
